﻿<%@ Page Title="Detail galerie" Language="C#" MasterPageFile="~/index.Master" AutoEventWireup="true"
    CodeBehind="UkazGalerii.aspx.cs" Inherits="Fotobanka.UkazGalerii" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Obsah" runat="server">
    <center>
        <h1>
            Detail galerie</h1>
        <br />
        <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
    </center>
    <a href="UkazGalerie.aspx">Zpet</a>
    <br />
    <br />
    <asp:Repeater ID="fotky_rep" runat="server" EnableTheming="True">
        <HeaderTemplate>
            <div style="width: 50%;">
        </HeaderTemplate>
        <ItemTemplate>
            <table style="margin-top: 5px; border-color: Black; border-width: 1px; color: Green;">
                <tr>
                    <td><a href="UkazFoto.aspx?h=<%# Eval("FileName", "{0}") %>&pid=<%# Eval("Id", "{0}") %>"><asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("FileName", "~/" + Fotobanka.Utils.FotoFolder + "/{0}" + Fotobanka.Utils.ThumbExtension) %>' /></a></td>
                    <td><%#DataBinder.Eval(Container.DataItem, "title")%></td>
                </tr>
            </table>
        </ItemTemplate>
        <FooterTemplate>
            </div>
        </FooterTemplate>
    </asp:Repeater>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Ovladaci_panel" runat="server">
</asp:Content>
